import { ISysGroup } from '/@/views/fileattachment/api/interface';

export interface ISysAttendanceRawRecord {
	ID?: string | null;
	PersonId: null;
	Person?: ISysPerson;
	StaffNo: string | null;
	PunchTime: Date;
	DeviceId: string | null;
	DeviceName: string | null;
	Location: string | null;
	Longitude: string | null;
	Latitude: string | null;
	PunchType: string | null;
	RecognitionType: string | null;
	RawData: string | null;
	ProcessStatus: string | null;
	ProcessTime: Date | null;
	Remark: string | null;
}

export interface ISysAttendanceRawRecordVm {
	Entity: ISysAttendanceRawRecord;
	ActionName?: string | null;
	IsMyApprove?: boolean | null;

}

export interface ISysAttendanceRawRecordView extends ISysAttendanceRawRecord {

}

export interface ISysAttendanceRawRecordQuery {
	PersonId?: string | null;
	StaffNo?: string | null;
	PunchTime?: any[] | null; // 日期范围数组 [startDate, endDate]
	PunchTimeStart?: Date | null; // 后端接口参数
	PunchTimeEnd?: Date | null; // 后端接口参数
	DeviceName?: string | null;
	Location?: string | null;
	PunchType?: string | null;
	RecognitionType?: string | null;
	ProcessStatus?: string | null;
}

export interface ISysPerson {
	ID?: string | null;
	Name?: string | null;
	StaffNo?: string | null;
}